[INFO] cloning repository https://github.com/trevorsm7/advent_of_code_2017
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trevorsm7/advent_of_code_2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevorsm7%2Fadvent_of_code_2017", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevorsm7%2Fadvent_of_code_2017'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b9f64b8d92fed4ba47108443b57703762df925c1
[INFO] checking trevorsm7/advent_of_code_2017 against master#43a4909ee98ed4d006d9d773f5d94dc58e34f846 for pr-157576
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrevorsm7%2Fadvent_of_code_2017" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/trevorsm7/advent_of_code_2017
[INFO] finished tweaking git repo https://github.com/trevorsm7/advent_of_code_2017
[INFO] tweaked toml for git repo https://github.com/trevorsm7/advent_of_code_2017 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/trevorsm7/advent_of_code_2017 on toolchain 43a4909ee98ed4d006d9d773f5d94dc58e34f846
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/trevorsm7/advent_of_code_2017 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `aoc` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded memchr v2.0.1
[INFO] [stderr]   Downloaded parking_lot v0.6.3
[INFO] [stderr]   Downloaded smallvec v0.6.4
[INFO] [stderr]   Downloaded aho-corasick v0.6.6
[INFO] [stderr]   Downloaded parking_lot_core v0.2.14
[INFO] [stderr]   Downloaded crossbeam-channel v0.2.4
[INFO] [stderr]   Downloaded regex v1.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a0bbe7615b5a258c70631b0e2674f81f3fe34976c0e77b51720803557961c488
[INFO] running `Command { std: "docker" "start" "a0bbe7615b5a258c70631b0e2674f81f3fe34976c0e77b51720803557961c488", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0bbe7615b5a258c70631b0e2674f81f3fe34976c0e77b51720803557961c488" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0bbe7615b5a258c70631b0e2674f81f3fe34976c0e77b51720803557961c488", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0bbe7615b5a258c70631b0e2674f81f3fe34976c0e77b51720803557961c488" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `aoc` (manifest) generated 1 warning
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]    Compiling version_check v0.1.4
[INFO] [stderr]     Checking nodrop v0.1.12
[INFO] [stderr]     Checking cfg-if v0.1.4
[INFO] [stderr]     Checking crossbeam-utils v0.5.0
[INFO] [stderr]     Checking rand_core v0.2.1
[INFO] [stderr]    Compiling regex v1.0.2
[INFO] [stderr]     Checking ucd-util v0.1.1
[INFO] [stderr]     Checking owning_ref v0.3.3
[INFO] [stderr]     Checking smallvec v0.6.4
[INFO] [stderr]     Checking lock_api v0.1.3
[INFO] [stderr]     Checking arrayvec v0.4.7
[INFO] [stderr]     Checking regex-syntax v0.6.2
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]     Checking crossbeam-epoch v0.5.2
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking rand v0.5.5
[INFO] [stderr]     Checking memchr v2.0.1
[INFO] [stderr]     Checking aho-corasick v0.6.6
[INFO] [stderr]     Checking crossbeam-deque v0.5.2
[INFO] [stderr]     Checking parking_lot_core v0.2.14
[INFO] [stderr]     Checking parking_lot v0.6.3
[INFO] [stderr]     Checking crossbeam-channel v0.2.4
[INFO] [stderr]     Checking crossbeam v0.4.1
[INFO] [stderr]     Checking aoc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/day7.rs:32:30
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn find_imbalance(&self, &str) -> Result<(u32, u32), u32>;
[INFO] [stdout]    |                              ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/day20.rs:122:53
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn get_collision(&self, other: &Self) -> Option<(i32)> {
[INFO] [stdout]     |                                                     ^   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 122 -     fn get_collision(&self, other: &Self) -> Option<(i32)> {
[INFO] [stdout] 122 +     fn get_collision(&self, other: &Self) -> Option<i32 > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/day21.rs:258:79
[INFO] [stdout]     |
[INFO] [stdout] 258 | fn match_pattern_3x3<'a>(input: &[u32], patterns: &'a [Pattern3x3]) -> Option<(&'a [u32])> {
[INFO] [stdout]     |                                                                               ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 258 - fn match_pattern_3x3<'a>(input: &[u32], patterns: &'a [Pattern3x3]) -> Option<(&'a [u32])> {
[INFO] [stdout] 258 + fn match_pattern_3x3<'a>(input: &[u32], patterns: &'a [Pattern3x3]) -> Option<&'a [u32] > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]    --> src/day1.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let len = input.trim_right().len();
[INFO] [stdout]     |                     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 156 -     let len = input.trim_right().len();
[INFO] [stdout] 156 +     let len = input.trim_end().len();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/day10.rs:83:10
[INFO] [stdout]    |
[INFO] [stdout] 83 |         .trim_right() // discard EOL whitespace
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 83 -         .trim_right() // discard EOL whitespace
[INFO] [stdout] 83 +         .trim_end() // discard EOL whitespace
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]    --> src/day10.rs:104:23
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let input = input.trim_right();
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 104 -     let input = input.trim_right();
[INFO] [stdout] 104 +     let input = input.trim_end();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/day11.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |         .trim_right()
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 31 -         .trim_right()
[INFO] [stdout] 31 +         .trim_end()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/day7.rs:32:30
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn find_imbalance(&self, &str) -> Result<(u32, u32), u32>;
[INFO] [stdout]    |                              ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/day20.rs:122:53
[INFO] [stdout]     |
[INFO] [stdout] 122 |     fn get_collision(&self, other: &Self) -> Option<(i32)> {
[INFO] [stdout]     |                                                     ^   ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 122 -     fn get_collision(&self, other: &Self) -> Option<(i32)> {
[INFO] [stdout] 122 +     fn get_collision(&self, other: &Self) -> Option<i32 > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/day21.rs:258:79
[INFO] [stdout]     |
[INFO] [stdout] 258 | fn match_pattern_3x3<'a>(input: &[u32], patterns: &'a [Pattern3x3]) -> Option<(&'a [u32])> {
[INFO] [stdout]     |                                                                               ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 258 - fn match_pattern_3x3<'a>(input: &[u32], patterns: &'a [Pattern3x3]) -> Option<(&'a [u32])> {
[INFO] [stdout] 258 + fn match_pattern_3x3<'a>(input: &[u32], patterns: &'a [Pattern3x3]) -> Option<&'a [u32] > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/day1.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn test_part1(f: &Fn(&str) -> u32) {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn test_part1(f: &dyn Fn(&str) -> u32) {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/day1.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn test_part2(f: &Fn(&str) -> u32) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn test_part2(f: &dyn Fn(&str) -> u32) {
[INFO] [stdout]     |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/main.rs:78:31
[INFO] [stdout]    |
[INFO] [stdout] 78 |         while let Some(e) = e.cause() {
[INFO] [stdout]    |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]    --> src/day1.rs:156:21
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let len = input.trim_right().len();
[INFO] [stdout]     |                     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 156 -     let len = input.trim_right().len();
[INFO] [stdout] 156 +     let len = input.trim_end().len();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/day10.rs:83:10
[INFO] [stdout]    |
[INFO] [stdout] 83 |         .trim_right() // discard EOL whitespace
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 83 -         .trim_right() // discard EOL whitespace
[INFO] [stdout] 83 +         .trim_end() // discard EOL whitespace
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]    --> src/day10.rs:104:23
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let input = input.trim_right();
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 104 -     let input = input.trim_right();
[INFO] [stdout] 104 +     let input = input.trim_end();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]   --> src/day11.rs:31:10
[INFO] [stdout]    |
[INFO] [stdout] 31 |         .trim_right()
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 31 -         .trim_right()
[INFO] [stdout] 31 +         .trim_end()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]    --> src/day22.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | trait GridExt {
[INFO] [stdout]     |       ------- method in this trait
[INFO] [stdout] 112 |     fn from_string(input: &str) -> Self;
[INFO] [stdout] 113 |     fn to_string(&self) -> String;
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/day11.rs:41:25
[INFO] [stdout]    |
[INFO] [stdout] 41 |             _ => panic!(format!("Invalid token '{}'", tok)),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 41 -             _ => panic!(format!("Invalid token '{}'", tok)),
[INFO] [stdout] 41 +             _ => panic!("Invalid token '{}'", tok),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/day20.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |                     panic!(format!("Unhandled: '{}'", caps.get(0).unwrap().as_str()));
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 95 -                     panic!(format!("Unhandled: '{}'", caps.get(0).unwrap().as_str()));
[INFO] [stdout] 95 +                     panic!("Unhandled: '{}'", caps.get(0).unwrap().as_str());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout]   --> src/main.rs:78:31
[INFO] [stdout]    |
[INFO] [stdout] 78 |         while let Some(e) = e.cause() {
[INFO] [stdout]    |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/day11.rs:41:25
[INFO] [stdout]    |
[INFO] [stdout] 41 |             _ => panic!(format!("Invalid token '{}'", tok)),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 41 -             _ => panic!(format!("Invalid token '{}'", tok)),
[INFO] [stdout] 41 +             _ => panic!("Invalid token '{}'", tok),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/day20.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |                     panic!(format!("Unhandled: '{}'", caps.get(0).unwrap().as_str()));
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 95 -                     panic!(format!("Unhandled: '{}'", caps.get(0).unwrap().as_str()));
[INFO] [stdout] 95 +                     panic!("Unhandled: '{}'", caps.get(0).unwrap().as_str());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.17s
[INFO] running `Command { std: "docker" "inspect" "a0bbe7615b5a258c70631b0e2674f81f3fe34976c0e77b51720803557961c488", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0bbe7615b5a258c70631b0e2674f81f3fe34976c0e77b51720803557961c488", kill_on_drop: false }`
[INFO] [stdout] a0bbe7615b5a258c70631b0e2674f81f3fe34976c0e77b51720803557961c488
